<div class="container">
    <div class="row">
        <table class="table">
            <tr>
                <td>订单号</td>
                <td>{{detail.orderid}}</td>
                <td>商品名称</td>
                <td>{{detail.post.name}}</td>
            </tr>
            <tr>
                <td>单价</td>
                <td>{{detail.post.price}}元</td>
                <td>数量</td>
                <td>{{detail.post.number}}</td>
            </tr>
            <tr>
                <td>运费</td>
                <td>{{detail.post.yprice}}元</td>
                <td>总价</td>
                <td>{{detail.payAmount}}元</td>
            </tr>
            <tr>
                <td>收货地址</td>
                <td colspan="3">
                {{detail.addr.name + ' - ' + detail.addr.mobile + ' - ' + detail.addr.addr}}
                </td>
            </tr>
            <tr>
                <td colspan="4" style="color: #ff9800;font-weight: bold;">
                '0:未支付', '1:已支付,待发货', '2: 已发货', '3:确认收货', '4:已完成'
                </td>
            </tr>
            <tr>
                <td>订单状态</td>
                <td ng-if="detail.status!=3"><input type="text" ng-model="detail.status"></td>
                <td ng-if="detail.status==3">确定收货</td>
                <td>物流单号</td>
                <td><input type="text" ng-model="detail.express"></td>
            </tr>
            <tr>
                <td>第三方订单号</td>
                <td><input type="text" ng-model="detail.outtrade"></td>
                <td>差价收益</td>
                <td><input type="text" ng-model="detail.openAmount"></td>
            </tr>
            <tr>
                <td>日志记录</td>
                <td colspan="3">
                    <textarea cols="100" rows="10" ng-model="detail.logs"></textarea>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: center;">
                    <button class="btn btn-primary btn-15"
                    ng-click="update()">确认修改</button>
                </td>
            </tr>
        </table>
    </div>  
</div>

<style>
    .table{
        width: 90%;
    }
</style>